<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>积分平台</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" type="text/css" href="__INDEX__/mui/css/mui.min.css"/>
		<link rel="stylesheet" type="text/css" href="__INDEX__/css/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="__INDEX__/css/common.css"/>
		<link rel="stylesheet" type="text/css" href="__INDEX__/css/coreIntegral.css"/>
		<script src="__INDEX__/js/lib/font.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body >
		<div class="head">
			<header class="mui-bar mui-bar-nav">
		        <a class="mui-icon mui-icon-left-nav mui-pull-left goindex" style="color: #ffffff"></a>
		        <h1 class="mui-title">我的积分</h1>
		    </header>
		    <div class="myInfo">
		    	<div class="outInt">
		    		<img src="__INDEX__/images/core-myJifen.png"/>
		    		<span>{$user['integral']}</span>分
		    	</div>
	        	<p>累计增加： <span>{$user['jiafen']}</span></p>
		    </div>
		</div>
	   
	    <div class="mui-content">
			<div id="wrapper" class="scrollCont">
	    		<div class="cont" id="scroller">
	    			<ul>
						{foreach $data as $value}
	    				<li>
	    					<div class="modular">
	    						<a href="javascript:;" data-url="{:url('index/coreIntInfo')}?id={$value['id']}">
	    							<div class="modular-cont">
	    								<div class="modular-info">
	    									{$value['change_describes']}
	    								</div>
	    								<p class="info-time">{$value['create_time']|date='Y-m-d H:i'}</p>
	    								<p class="info-num"><span>{$value['number']}</span>分</p>
	    							</div>
	    						</a>
	    					</div>
	    				</li>
						{/foreach}
	    			</ul>
	    		</div>
   			</div>	
	    </div>
		<script src="__INDEX__/js/lib/zepto.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/mui/js/mui.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/mui/js/mui.view.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/layer_mobile/layer.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/js/common.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/js/lib/iscroll.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/js/coreIntegral.js" type="text/javascript" charset="utf-8"></script>
	<script>
		$(".goindex").on("tap",function () {
			window.location.href="{:url('index/core')}";
        });
	</script>
	</body>
</html>
